package com.light.gulimall.order.feign;

import com.light.gulimall.order.vo.SpuInfoVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "gulimall-product")
public interface ProductRemoteServiceClient {

    @RequestMapping("/product/spuinfo/order/getSpuInfo/{skuId}")
    SpuInfoVO getSpuInfo(@RequestParam("skuId")Long skuId);
}
